package com.ruoyi.project.jiaqin.area.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 行情分类-产地（批发市场等）对象 quotation_class_area
 *
 * @author LCL
 * @date 2021-11-02
 */
public class QuotationClassArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** 产地名称 */
    @Excel(name = "产地名称")
    private String name;

    /** 创建时间 */
    private Date createdTime;

    /** 修改时间 */
    private Date updatedTime;

    /** 删除标记：0-正常 1-删除 */
    private Long delFlag;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setDelFlag(Long delFlag)
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("createdTime", getCreatedTime())
            .append("updatedTime", getUpdatedTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
